package com.yellowpage.bigdata.data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * O2oLogSumDay entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "O2O_LOG_SUM_DAY")
public class O2oLogSumDay implements java.io.Serializable {

	// Fields

	private Integer id;
	private String dayId;
	private String o2oId;
	private String channelNo;
	private String isImei;
	private String isTotal;
	private String counts;
	private String createTime;

	// Constructors

	/** default constructor */
	public O2oLogSumDay() {
	}

	/** minimal constructor */
	public O2oLogSumDay(String dayId, String o2oId) {
		this.dayId = dayId;
		this.o2oId = o2oId;
	}

	/** full constructor */
	public O2oLogSumDay(String dayId, String o2oId, String channelNo,
			String isImei, String isTotal, String counts, String createTime) {
		this.dayId = dayId;
		this.o2oId = o2oId;
		this.channelNo = channelNo;
		this.isImei = isImei;
		this.isTotal = isTotal;
		this.counts = counts;
		this.createTime = createTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "DAY_ID", nullable = false, length = 64)
	public String getDayId() {
		return this.dayId;
	}

	public void setDayId(String dayId) {
		this.dayId = dayId;
	}

	@Column(name = "O2O_ID", nullable = false, length = 128)
	public String getO2oId() {
		return this.o2oId;
	}

	public void setO2oId(String o2oId) {
		this.o2oId = o2oId;
	}

	@Column(name = "CHANNEL_NO", length = 128)
	public String getChannelNo() {
		return this.channelNo;
	}

	public void setChannelNo(String channelNo) {
		this.channelNo = channelNo;
	}

	@Column(name = "IS_IMEI", length = 10)
	public String getIsImei() {
		return this.isImei;
	}

	public void setIsImei(String isImei) {
		this.isImei = isImei;
	}

	@Column(name = "IS_TOTAL", length = 10)
	public String getIsTotal() {
		return this.isTotal;
	}

	public void setIsTotal(String isTotal) {
		this.isTotal = isTotal;
	}

	@Column(name = "COUNTS", length = 10)
	public String getCounts() {
		return this.counts;
	}

	public void setCounts(String counts) {
		this.counts = counts;
	}

	@Column(name = "CREATE_TIME", length = 30)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

}